package lang;

import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class StringIsNull {

    private static final Logger logger = LoggerFactory.getLogger(StringIsNull.class);

    public static void main(String[] args) {
        boolean blank = StringUtils.isBlank(" ");
        boolean empty = StringUtils.isEmpty(" ");
        logger.info("blank is {},empty is {}",blank,empty);
    }

}
